package com.kmg.scart.model;

public class ProductDetails extends ApplicationEntity{

	private long availability;
	
	public boolean isInStock(){
		return availability>0;
	}
	
	public boolean isOutOfStock(){
		return availability<=0;
	}

	public long getAvailability() {
		return availability;
	}

	public void setAvailability(long availability) {
		this.availability = availability;
	}
}
